﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProtoGame.GameLib;
using Microsoft.Xna.Framework.Content;
using ProtoGame.GameLib.Entities;
using Microsoft.Xna.Framework.Graphics;

namespace ProtoGame.DescritoresContent
{
    class PGIMGEntradaCaverna
    {
        private const ushort tileWidth = 32;
        private const ushort tileHeight = 64;

        public static Tileset CriarTileset(ContentManager content)
        {
            return new Tileset(content.Load<Texture2D>(@"Images\Sprites\EntradaCaverna"), tileWidth, tileHeight);
        }

        public static class EstadosEntradaCaverna
        {
            public const byte Escondida = 0;
            public const byte Revelada = 1;
        }

        public static Animator CriarAnimatorEntradaCaverna()
        {
            Animator canoAnim = new Animator();
            canoAnim.AddStaticAnimation(EstadosEntradaCaverna.Escondida, 0);
            canoAnim.AddStaticAnimation(EstadosEntradaCaverna.Revelada, 1);

            return canoAnim;
        }
    }
}
